package com.doone.telmarket.service;

import java.util.List;

import com.doone.telmarket.domain.Service;
import com.doone.telmarket.domain.ServicePage;

/**
 * @package com.doone.telmarket.domain.ibator
 * @author 甘雨波
 * @description 增值业务操作服务层接口
 * @date 2009-9-17
 */
public interface ServiceOperation {

	/**根据类型查询增值业务**/
	public List<Service> selectServiceByType(String serviceType, String serviceClassify);

	/**保存增值业务**/
	public String saveService(ServicePage servicePage, String sessionId, String rootPath);

	/**根据ID查询增值业务**/
	public Service selectServiceById(String id);

	/**删除增值业务**/
	public int deleteServiceById(String id);

	/**根据增值业务ID查询增值业务PAGEBEAN**/
	public ServicePage selectServicePageByServiceId(String serviceId);

	/**更新增值业务**/
	public void updateService(ServicePage servicePage, String sessionId, String rootPath);

	public List<Service> getAllService();
}
